home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
assemblr
/
library
/
slowdown
/
cdtrap.doc
< prev
next >
Wrap
Text File
|
1987-09-21
|
1KB
|
45 lines
CDTRAP.COM -- Carrier Loss Trap for PClones 18 Sep 87
Tom Jennings
Fido Software
164 Shipley
San Francisco CA 94107
CDTRAP is a program used to monitor the modem whileì
"outside" the Fido system, and reboot the system if carrierì
is lost.
The assumption here is that you are using Fido's O)utside orì
E)xitDOS command for sysop-only access to DOS commands.ì
Without CDTRAP or a similar program, if you wereì
disconnected for some reason, your computer would ì
mindlessly wait for the next command, but since Fido is noì
longer in control it would sit there until you manuallyì
rebooted the machine.
(Previous Fido versions would give the NEXT PERSON WHOì
CALLED IN access to your DOS.)
CDTRAP is easy to use: in your batch file (see sampleì
"RUNFIDO.BAT" on Fido Software's BBS) you install CDTRAPì
before you run COMMAND.COM; before you exit to Fido, you un¡
install CDTRAP.
CDTRAP ;installs it
CDTRAP R ;removes it
When CDTRAP is run, it first checks to see if was installedì
previously; if so, it turns that previous copy "ON" or "OFF"ì
as indicated. Only if there is no CDTRAP resident does itì
install itself in memory.
CDTRAP as supplied inserts itself into the PClones timerì
tick, and monitors the modem status port of COM1 every tick,ì
or 55mS. If carrier is lost it causes the system to reboot.
To use CDTRAP with COM2, or a non-PClone machine, you willì
need to edit and reassemble the program.